package wxshop.api.admin.model;

import java.util.Map;

/**
 * Created by 121874694@qq.com on 2018/3/1.
 */
public class FormResult {
	private boolean status;
	private Object data;
	private String info;
	private Map<String,String>filedInfo;
	
	public FormResult () {
	}

	public FormResult(boolean status) {
		this.status = status;
	}

	public FormResult (Object data) {
		this.data = data;
	}
	
	public FormResult (boolean status, Object data) {
		this.status = status;
		this.data = data;
	}
	
	public FormResult (boolean status, String info) {
		this.status = status;
		this.info = info;
	}
	
	public boolean isStatus () {
		return status;
	}
	
	public void setStatus (boolean status) {
		this.status = status;
	}
	
	public Object getData () {
		return data;
	}
	
	public void setData (Object data) {
		this.data = data;
	}
	
	public String getInfo () {
		return info;
	}
	
	public void setInfo (String info) {
		this.info = info;
	}
	
	public Map<String, String> getFiledInfo () {
		return filedInfo;
	}
	
	public void setFiledInfo (Map<String, String> filedInfo) {
		this.filedInfo = filedInfo;
	}
	
	@Override
	public String toString () {
		return "FormResult{" +
				"status=" + status +
				", data=" + data +
				", info='" + info + '\'' +
				", filedInfo=" + filedInfo +
				'}';
	}
}
